package com.ylz.sjzx.sio.common.core.constant;

/**
 * @author wiqi
 * @version 1.0
 * @date 2020/12/3
 */
public class Const {
    /**
     * GROUP_NAME
     */
    public static final String GROUP_NAME = "group_name";

    /**
     * GROUP_ROLE
     */
    public static final String GROUP_ROLE = "group_role";


    /**
     * pre
     */
    public static final String PREFIX_YKT = "ylz:";

    /**
     * 机器注册IP
     */
    public static final String SYS_MECHINE = PREFIX_YKT + "mechine";

    /**
     * 登录信息
     */
    public static final String SESSION = PREFIX_YKT + "session:manualLogin";

    /**
     * 用户关联session
     */
    public static final String USER_SESSION = PREFIX_YKT + "user_session:";
    /**
     * 用户分布式session
     */
    public static final String DISTRIBUTED_SESSION = PREFIX_YKT + "distributed_session:";

    /**
     * utf-8
     */
    public static final String UTF8 = "utf-8";

    /**
     * 消息的flag标识
     */
    public static final String MESSAGE_FLAG = "♩";
    /**
     * 多条消息分隔符
     */
    public static final String MESSAGE_SPLIT_FLAG = "♪";
    /**
     * tep
     */
    public static final String TEMP = "temp";
    /**
     * mp
     */
    public static final String MP = "mp";

    /**
     * 聊天室redis过期时间
     */
    public static int ROOMEXPIRE = 7200;
    /**
     * admin 组
     */
    public static String ADMIN = "admin";
    /**
     * end
     */
    public static String END = "end";

    public static String MKOP = "mkop";
    /**
     * 1000
     */
    public static Long ONE_THOUSAND = 1000L;

}
